// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#ifndef _STDAFX_H_
#define _STDAFX_H_

#include <dlcom/cominc.h>
#include <comutiliy/base.h>

#include <ui/iuibase.h>
#include <ui/iuicontrol.h>
#include <ui/iuiwindow.h>
#include <ui/uidefine.h>

#define MAX _max
#define MIN _min

#if (TARGET_OS == OS_WINDOWS)

//#ifndef _WIN32_WINNT
//#define _WIN32_WINNT 0x0500
//#endif

#include "uilib/uilib.h"
#include "uilib/dpi.hpp"
#include "uilib/dwm.hpp"
using namespace uilib;

#define lengthof(x) (sizeof(x)/sizeof(*x))

#elif (TARGET_OS == OS_POSIX)

#elif (TARGET_OS == OS_DARWIN)

#endif

#endif

